package net.qhzw.vip.qiyu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 帮助视频
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_videos")
public class SysVideos {

    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 视频标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 播放量
     */
    @TableField(value = "play_volume")
    private Long playVolume;

    /**
     * 简介
     */
    @TableField(value = "introduction")
    private String introduction;

    /**
     * 状态0:禁用 1:启用
     */
    @TableField(value = "status")
    private Byte status;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 封面
     */
    @TableField(value = "cover")
    private String cover;


    /**
     * 创建人
     */
    @TableField(value = "create_by")
    private Long createBy;

    /***
     * 视频地址
     */
    @TableField(value = "videos_url")
    private String videosUrl;

}